package uicgas.register.remotecmds;

import uicgas.communication.Communication;
import uicgas.communication.RemoteCommand;
import uicgas.globaldata.MessagePayload;
import uicgas.pump.PumpLogic;
import uicgas.register.Comunications;
import uicgas.register.RegisterLogic;

public abstract class NotifyCardInvalid implements RemoteCommand
{
	private RegisterLogic Register;

	public NotifyCardInvalid(RegisterLogic register, Comunications communication)
	{
		this.Register = register;
	}

	public void executeRemoteCommand1()
	{
		this.Register.NotifyInvalidCard();
	}

	public void executeRemoteCommand(RegisterLogic Register)
	{
		this.Register = Register;
	}

	public int executeRemoteCommand(MessagePayload inData)
	{
		return -1;
	}
}
